<template>
  <hcTab v-model="activeTab" :head="head"></hcTab>
</template>
<script setup>
import Statistics from "./statistics/index.vue";
import Analysis from "./analysis/index.vue";
import lotinfo from "./lotinfo/index.vue";
import { ref } from "vue";
import { useI18n } from "vue-i18n";
let { t } = useI18n();
let head = [
  { id: "lotinfo", text: "批次上料", component: lotinfo },
  { id: "statistics", text: t("product.base.statistics"), component: Statistics },
  { id: "analysis", text: t("product.base.analysis"), component: Analysis },
];
let activeTab = ref("lotinfo");
</script>
<style lang="scss" scoped></style>
